# CMake 最低版本号要求
cmake_minimum_required (VERSION 2.8)

project(BASE)

set (CMAKE_INSTALL_PREFIX /opt/ECG)
INCLUDE_DIRECTORIES( /opt/ECG/include)

if(INSTALL_HEAD_FILE_ONLY)

message(STATUS "just install head files...")
install(FILES  inc/base.h DESTINATION include/base)


else(INSTALL_HEAD_FILE_ONLY)
message(STATUS "compile project...")

endif(INSTALL_HEAD_FILE_ONLY)
